package com.google.code.rgbgoesbetween.data;
/**
 * All the possible variables that Items can be searched by
 * @author Avanyali
 *
 */
public class SearchEngineCriteria {
	private String category;
	private String[] tags;
	private String description;
	private boolean lost;
	private double reward;
	private Location location;
	private long dateStart;
	private long dateFinish;
	
	
	public SearchEngineCriteria(String category, String[] tags, String description,
			boolean lost, double reward) {
		this.category = category;
		this.tags = tags;
		this.description = description;
		this.lost = lost;
		this.reward = reward;
	}
	
	public String getCategory() {
		return category;
	}
	
	public void setCategory(String c) {
		category = c;
	}
	
	public Location getLocation() {
		return location;
	}
	
	public void setLocation(Location l) {
		location = l;
	}
	
	public String[] getTags() {
		return tags;
	}
	
	public void setTags(String[] t) {
		tags = t;
	}
	
	public String getDescription() {
		return description;
	}
	
	public void setDescription(String d) {
		description = d;
	}
	/**
	 * 
	 * @return If the item is lost
	 */
	public boolean getStatus() {
		return lost;
	}
	
	public void setStatus(boolean l) {
		lost = l;
	}
	
	public double getReward() {
		return reward;
	}
	
	public void setReward(double r) {
		reward = r;
	}

	public long getDateStart() {
		return dateStart;
	}

	public void setDateStart(long dateStart) {
		this.dateStart = dateStart;
	}

	public long getDateFinish() {
		return dateFinish;
	}

	public void setDateFinish(long dateFinish) {
		this.dateFinish = dateFinish;
	}
}
